package com.hz.ruoyistorage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.hz.rouyigonggong.domain.basedomain.BaseDomain;
import com.ruoyi.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author guo
 * @description 冷库区域表
 * @date 3/4 18:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LgSubCold{
  @TableId(value = "sub_id",type = IdType.AUTO)
  @Excel(name = "冷库区域id")
  private Integer subId;
  @Excel(name = "父冷库ID")
  private Integer parentId;
  @Excel(name = "区域名称")
  private String subName;
  @Excel(name = "描述")
  private String description;
  @Excel(name = "容积（m³）")
  private Double capacity;
  @Excel(name = "单日价格")
  private Double dailyPrice;
  @Excel(name = "冷库类型ID")
  private Integer coldId;
  @Excel(name = "仓库管理员ID")
  private Integer managerId;
  @Excel(name = "冷库状态", readConverterExp = "1=空闲,2=有货,3=停用")
  private Integer status;
  @Excel(name = "当前所属")
  private String currentOwner;
  @Excel(name = "创建人")
  private String createBy;
  @Excel(name = "修改人")
  private String updateBy;
  @Excel(name = "创建时间")
  private Timestamp createTime;
  @Excel(name = "修改时间")
  private Timestamp updateTime;
  @Excel(name = "删除状态", readConverterExp = "0=正常,1=已删除")
  @TableLogic
  private Integer deleteStatus;

}
